﻿%table.orderinfo.data{width="100%"}
  %tr
    %th{colspan=3}
      .padded5 Дополнительные поля
  %tr
    %td{width="40%"}
      .field
        %label.radio{for="iscomplicated"}
          =HTMLHelper.Checkbox("iscomplicated","True","",entity.IsComplicated, false, "tabindex=3")
          ="Сложный документ"
    %td{width="32%"}
      .field.padded3
        %label.required{for="doccount"}Количество оригиналов, шт.:    
    %td{width="20%"}
      %input.floatright#doccount.px80.required.number{tabindex="8", name="doccount",value=entity.DocCount,maxlength="10"}
  %tr
    %td
      .field
        %label.radio{for="isinternal"}
          =HTMLHelper.Checkbox("isinternal","True","",entity.IsInternal, false, "tabindex=4")
          ="Внутренний документ"
    %td
      .field.padded3
        %label.required{for="copycount"}Количество копий, шт.: 
    %td
      %input.floatright#copycount.px80.required.number{tabindex="9", name="copycount",value=entity.CopyCount,maxlength="10"}
  %tr
    %td
      .field
        %label.radio{for="canbeassign"}
          =HTMLHelper.Checkbox("canbeassign","True","",entity.CanBeAssign, false, "tabindex=5")
          ="С правом передоверия"
    %td
      .field.padded3
        %label.required{for="xeroxcount"}Ксерокс, стр.:
    %td
      %input.floatright#xeroxcount.px80.required.number{tabindex="10", name="xeroxcount",value=entity.XeroxCount,maxlength="10"} 
  %tr
    %td
      .field
        %label.radio{for="isnotforregistration"}
          =HTMLHelper.Checkbox("isnotforregistration","True","",entity.IsNotForRegistration, false, "tabindex=6")
          ="Сделать, но не регистрировать"
    %td
      .field.padded3
        %label{for="formnumber", class=((!entity.IsNotOnForm) ? " required" : "")}
          %a#addformnumber{class=string.Format("button {0}",readOnly || entity.IsNotOnForm ? "hidden" : ""), href="#",onclick="return addnotarialformnumber();"}
            %img{src="img/addsmall.gif", title="Добавить бланк", alt="Добавить бланк"}
          Номер бланка:      
    %td
      _formnumbers      
  %tr
    %td
      .field
        %label.radio{for="isrush"}
          =HTMLHelper.Checkbox("isrush","True","",entity.IsRush, false, "tabindex=7")
          ="Срочный документ"
    %td
      .field
        %label.radio{for="isnotonform"}
          =HTMLHelper.Checkbox("isnotonform","True","", (create) ? true : entity.IsNotOnForm, false, "tabindex=12")
          ="Не на бланке"
    %td